/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package queenb.net.entitybean;

import java.io.Serializable;
import java.sql.Date;
import oracle.jdbc.OracleTypes;
import queenb.net.annotation.Mapping;
import queenb.net.datacontrol.DataControl;
import queenb.web.util.Util;

/**
 *
 * @author Nguyen Hung
 */
public class S400 extends DataControl<S400> implements Serializable{
    @Mapping(name = "AV001F", typeMapping = OracleTypes.CHAR)
    private String AV001F;
    @Mapping(name = "AV001T", typeMapping = OracleTypes.CHAR)
    private String AV001T;
    @Mapping(name = "fa000f", typeMapping = OracleTypes.INTEGER)
    private int fa000f;
    @Mapping(name = "fa000t", typeMapping = OracleTypes.INTEGER)
    private int fa000t;
    @Mapping(name = "FV050", typeMapping = OracleTypes.INTEGER)
    private int fv050;
    @Mapping(name = "sv401", typeMapping = OracleTypes.CHAR)
    private String sv401;
    @Mapping(name = "sd402", typeMapping = OracleTypes.DATE)
    private Date sd402;
    @Mapping(name = "sv403", typeMapping = OracleTypes.CHAR)
    private String sv403;
    @Mapping(name = "sn404", typeMapping = OracleTypes.INTEGER)
    private int sn404;   
    private String sn404_1;
    @Mapping(name = "sv405", typeMapping = OracleTypes.CHAR)
    private String sv405;
    @Mapping(name = "sn406", typeMapping = OracleTypes.INTEGER)
    private int sn406;
    @Mapping(name = "sn407", typeMapping = OracleTypes.INTEGER)
    private int sn407;
    @Mapping(name = "sn408", typeMapping = OracleTypes.INTEGER)
    private int sn408;
    @Mapping(name = "sn409", typeMapping = OracleTypes.INTEGER)
    private int sn409;
    @Mapping(name = "sv110", typeMapping = OracleTypes.CHAR)
    private String sv110;
    
    @Mapping(name = "DOWB", typeMapping = OracleTypes.CHAR)
    private String DOWB;
    @Mapping(name = "startdate", typeMapping = OracleTypes.DATE)
    private Date startdate;
    @Mapping(name = "backdate", typeMapping = OracleTypes.DATE)
    private Date backdate;
    
    
    @Mapping(name = "sn102", typeMapping = OracleTypes.INTEGER)
    private int sn102;
    @Mapping(name = "sn103", typeMapping = OracleTypes.INTEGER)
    private int  sn103;
    @Mapping(name = "vn079", typeMapping = OracleTypes.INTEGER)
    private int  vn079;
    
    @Mapping(name = "sn104", typeMapping = OracleTypes.INTEGER)
    private int sn104;
    @Mapping(name = "sn108", typeMapping = OracleTypes.INTEGER)
    private int sn108;
    @Mapping(name = "sn109", typeMapping = OracleTypes.INTEGER)
    private int  sn109;
    @Mapping(name = "fs400", typeMapping = OracleTypes.INTEGER)
    private int fs400;
    @Mapping(name = "ps400", typeMapping = OracleTypes.INTEGER)
    private int ps400;
    @Mapping(name = "VAL", typeMapping = OracleTypes.INTEGER)
    private int val;
    @Mapping(name = "LABEL", typeMapping = OracleTypes.CHAR)
    private String label;
     @Mapping(name = "KH", typeMapping = OracleTypes.CHAR)
    private String kh;
      @Mapping(name = "DD", typeMapping = OracleTypes.CHAR)
    private String dd;
      @Mapping(name = "VV051", typeMapping = OracleTypes.CHAR)
    private String vv051;
    
    private String price;

    
     @Mapping(name = "SL419", typeMapping = OracleTypes.CHAR)
    private String sl419;
     @Mapping(name = "SL418", typeMapping = OracleTypes.CHAR)
    private String sl418;
    /**
     * @return the AV001F
     */
    public String getAV001F() {
        return AV001F;
    }

    /**
     * @param AV001Fl the AV001Fl to set
     */
    public void setAV001F(String AV001F) {
        this.AV001F = AV001F;
    }

    /**
     * @return the AV001T
     */
    public String getAV001T() {
        return AV001T;
    }

    /**
     * @param AV001T the AV001T to set
     */
    public void setAV001T(String AV001T) {
        this.AV001T = AV001T;
    }

    /**
     * @return the sv403
     */
    public String getSv403() {
        return sv403;
    }

    /**
     * @param sv403 the sv403 to set
     */
    public void setSv403(String sv403) {
        this.sv403 = sv403;
    }

    /**
     * @return the sn404
     */
    public int getSn404() {
        
        return sn404;
    }

    /**
     * @param sn404 the sn404 to set
     */
    public void setSn404(int sn404) {
        this.sn404 = sn404;
    }

    /**
     * @return the sn406
     */
    public int getSn406() {
        return sn406;
    }

    /**
     * @param sn406 the sn406 to set
     */
    public void setSn406(int sn406) {
        this.sn406 = sn406;
    }

    /**
     * @return the sv110
     */
    public String getSv110() {
        return sv110;
    }

    /**
     * @param sv110 the sv110 to set
     */
    public void setSv110(String sv110) {
        this.sv110 = sv110;
    }

    /**
     * @return the sn102
     */
    public int getSn102() {
        return sn102;
    }

    /**
     * @param sn102 the sn102 to set
     */
    public void setSn102(int sn102) {
        this.sn102 = sn102;
    }

    /**
     * @return the sn103
     */
    public int getSn103() {
        return sn103;
    }

    /**
     * @param sn103 the sn103 to set
     */
    public void setSn103(int sn103) {
        this.sn103 = sn103;
    }

    /**
     * @return the sn104
     */
    public int getSn104() {
        return sn104;
    }

    /**
     * @param sn104 the sn104 to set
     */
    public void setSn104(int sn104) {
        this.sn104 = sn104;
    }

    /**
     * @return the DOWB
     */
    public String getDOWB() {
        return DOWB;
    }

    /**
     * @param DOWB the DOWB to set
     */
    public void setDOWB(String DOWB) {
        this.DOWB = DOWB;
    }

//    /**
//     * @return the startdate
//     */
//    public String getStartdate() {
//        return startdate;
//    }
//
//    /**
//     * @param startdate the startdate to set
//     */
//    public void setStartdate(String startdate) {
//        this.startdate = startdate;
//    }
//
//    /**
//     * @return the backdate
//     */
//    public String getBackdate() {
//        return backdate;
//    }
//
//    /**
//     * @param backdate the backdate to set
//     */
//    public void setBackdate(String backdate) {
//        this.backdate = backdate;
//    }

    /**
     * @return the sn108
     */
    public int getSn108() {
        return sn108;
    }

    /**
     * @param sn108 the sn108 to set
     */
    public void setSn108(int sn108) {
        this.sn108 = sn108;
    }

    /**
     * @return the sn109
     */
    public int getSn109() {
        return sn109;
    }

    /**
     * @param sn109 the sn109 to set
     */
    public void setSn109(int sn109) {
        this.sn109 = sn109;
    }

    /**
     * @return the fs400
     */
    public int getFs400() {
        return fs400;
    }

    /**
     * @param fs400 the fs400 to set
     */
    public void setFs400(int fs400) {
        this.fs400 = fs400;
    }

    /**
     * @return the ps400
     */
    public int getPs400() {
        return ps400;
    }

    /**
     * @param ps400 the ps400 to set
     */
    public void setPs400(int ps400) {
        this.ps400 = ps400;
    }

    /**
     * @return the fa000f
     */
    public int getFa000f() {
        return fa000f;
    }

    /**
     * @param fa000f the fa000f to set
     */
    public void setFa000f(int fa000f) {
        this.fa000f = fa000f;
    }

    /**
     * @return the fa000t
     */
    public int getFa000t() {
        return fa000t;
    }

    /**
     * @param fa000t the fa000t to set
     */
    public void setFa000t(int fa000t) {
        this.fa000t = fa000t;
    }

    /**
     * @return the sv401
     */
    public String getSv401() {
        return sv401;
    }

    /**
     * @param sv401 the sv401 to set
     */
    public void setSv401(String sv401) {
        this.sv401 = sv401;
    }

    /**
     * @return the sv405
     */
    public String getSv405() {
        return sv405;
    }

    /**
     * @param sv405 the sv405 to set
     */
    public void setSv405(String sv405) {
        this.sv405 = sv405;
    }

    /**
     * @return the sn407
     */
    public int getSn407() {
        return sn407;
    }

    /**
     * @param sn407 the sn407 to set
     */
    public void setSn407(int sn407) {
        this.sn407 = sn407;
    }

    /**
     * @return the sn408
     */
    public int getSn408() {
        return sn408;
    }

    /**
     * @param sn408 the sn408 to set
     */
    public void setSn408(int sn408) {
        this.sn408 = sn408;
    }

    /**
     * @return the sd402
     */
    public Date getSd402() {
        return sd402;
    }

    /**
     * @param sd402 the sd402 to set
     */
    public void setSd402(Date sd402) {
        this.sd402 = sd402;
    }

    /**
     * @return the val
     */
    public int getVal() {
        return val;
    }

    /**
     * @param val the val to set
     */
    public void setVal(int val) {
        this.val = val;
    }

    /**
     * @return the label
     */
    public String getLabel() {
        return label;
    }

    /**
     * @param label the label to set
     */
    public void setLabel(String label) {
        this.label = label;
    }

    /**
     * @return the price
     */
    public String getPrice() {
        double ln205db = Util.convertStringToDouble(String.valueOf(getSn404()));
        price = Util.numberformater(ln205db, "##,###,###");
        return price;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(String price) {
        this.price = price;
    }

    /**
     * @return the kh
     */
    public String getKh() {
        return kh;
    }

    /**
     * @param kh the kh to set
     */
    public void setKh(String kh) {
        this.kh = kh;
    }

    /**
     * @return the dd
     */
    public String getDd() {
        return dd;
    }

    /**
     * @param dd the dd to set
     */
    public void setDd(String dd) {
        this.dd = dd;
    }

    /**
     * @return the vv051
     */
    public String getVv051() {
        return vv051;
    }

    /**
     * @param vv051 the vv051 to set
     */
    public void setVv051(String vv051) {
        this.vv051 = vv051;
    }

    /**
     * @return the startdate
     */
    public Date getStartdate() {
        return startdate;
    }

    /**
     * @param startdate the startdate to set
     */
    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    /**
     * @return the backdate
     */
    public Date getBackdate() {
        return backdate;
    }

    /**
     * @param backdate the backdate to set
     */
    public void setBackdate(Date backdate) {
        this.backdate = backdate;
    }

    /**
     * @return the sn404_1
     */
    public String getSn404_1() {
        sn404_1 =Util.numberformater(this.getSn404());
        return sn404_1;
    }

    /**
     * @param sn404_1 the sn404_1 to set
     */
    public void setSn404_1(String sn404_1) {
        this.sn404_1 = sn404_1;
    }

    /**
     * @return the fv050
     */
    public int getFv050() {
        return fv050;
    }

    /**
     * @param fv050 the fv050 to set
     */
    public void setFv050(int fv050) {
        this.fv050 = fv050;
    }

    /**
     * @return the sn409
     */
    public int getSn409() {
        return sn409;
    }

    /**
     * @param sn409 the sn409 to set
     */
    public void setSn409(int sn409) {
        this.sn409 = sn409;
    }

    /**
     * @return the vn079
     */
    public int getVn079() {
        return vn079;
    }

    /**
     * @param vn079 the vn079 to set
     */
    public void setVn079(int vn079) {
        this.vn079 = vn079;
    }

    /**
     * @return the sl419
     */
    public String getSl419() {
        return sl419;
    }

    /**
     * @param sl419 the sl419 to set
     */
    public void setSl419(String sl419) {
        this.sl419 = sl419;
    }

    /**
     * @return the sl418
     */
    public String getSl418() {
        return sl418;
    }

    /**
     * @param sl418 the sl418 to set
     */
    public void setSl418(String sl418) {
        this.sl418 = sl418;
    }

    
    
}
